FROM python:3.10-slim

COPY . ./saasapitest

RUN pip install -r ./saasapitest/requirements.txt -i https://mirrors.aliyun.com/pypi/simple/


ENV env=qa
ENV casepath=mart_case
ENV operator="local"

CMD pytest "/saasapitest/testcases/$casepath" "--env=$env" "--operator=$operator"